Breakpoints and Halting in Distributed Programs
نویسندگان
چکیده
Interactive debugging requires that the programmer be able to halt a program at interesting points in its execution. This paper presents an algorithm for halting a distributed program in a consistent state, and presents a definition of distributed breakpoints with an algorithm for implementing the detection of these breakpoints. The Halting Algorithm extends Chandy and Lamport’s algorithm for recording global state and solves the problem of processes that are not fully connected or frequently communicating. The definition of distributed breakpoints is based on those events that can be detected in a distributed system. Events that can be partially ordered are detectable and form the basis for the breakpoint predicates, and from the breakpoint definition comes the description of an algorithm that can be used in a distributed debugger to detect these breakpoints. Index Items Distributed Programming, Distributed Debugging, Halting Algorithm, Distributed Breakpoints.
منابع مشابه
Fast Data Breakpoints
Debuggers allow a user to halt a program and examine its state. The debugger stops execution when some user-speci ed condition is satis ed: Code breakpoints halt program execution when a particular instruction is executed. Data breakpoints halt program execution when a variable is referenced. Code breakpoints are supported directly in hardware on most machines and are fast. Data breakpoints, ho...
متن کاملSystematic Debugging of Parallel Programs Based on Collective Breakpoints
1 The work described in the paper is supported by the ESPRIT project WINPAR No. 23516, the Hungarian-German Intergovernmental TéT project GRADEOMIS No. D-62/96, the Hungarian-Portuguese Intergovernmental TéT project Graphical Quality No. P-12/97 and by the OMFB project WINPARDEBUGGER No. E151/98.04.03. Abstract The paper introduces the concept of collective breakpoints and classifies the possib...
متن کاملThe Halting Problem for Deductive Synthesis of Logic Programs
Deductive synthesis methods derive programs in an incremental manner, and therefore pose a halting problem { when can synthesis stop with a correct program? We give a characterisation of this problem and state a halting principle as a solution. Another characteristic of deductive synthesis is that it may derive several correct programs, giving rise to another question { which correct programs a...
متن کاملAutosolvability of halting problem instances for instruction sequences
We position Turing’s result regarding the undecidability of the halting problem as a result about programs rather than machines. The mere requirement that a program of a certain kind must solve the halting problem for all programs of that kind leads to a contradiction in the case of a recent unsolvability result regarding the halting problem for programs. In this paper, we investigate this auto...
متن کاملInitialization Halting Concepts and Their Basic Properties of SCMFSA
Up to now, many properties of macro instructions of SCMFSA are described by the parahalting concepts. However, many practical programs are not always halting while they are halting for initialization states. For this reason, we propose initialization halting concepts. That a program is initialization halting (called ”InitHalting” for short) means it is halting for initialization states.In order...
متن کامل